package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PublicinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PublicinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInfoidIsNull() {
            addCriterion("InfoID is null");
            return (Criteria) this;
        }

        public Criteria andInfoidIsNotNull() {
            addCriterion("InfoID is not null");
            return (Criteria) this;
        }

        public Criteria andInfoidEqualTo(String value) {
            addCriterion("InfoID =", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotEqualTo(String value) {
            addCriterion("InfoID <>", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidGreaterThan(String value) {
            addCriterion("InfoID >", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidGreaterThanOrEqualTo(String value) {
            addCriterion("InfoID >=", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidLessThan(String value) {
            addCriterion("InfoID <", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidLessThanOrEqualTo(String value) {
            addCriterion("InfoID <=", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidLike(String value) {
            addCriterion("InfoID like", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotLike(String value) {
            addCriterion("InfoID not like", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidIn(List<String> values) {
            addCriterion("InfoID in", values, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotIn(List<String> values) {
            addCriterion("InfoID not in", values, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidBetween(String value1, String value2) {
            addCriterion("InfoID between", value1, value2, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotBetween(String value1, String value2) {
            addCriterion("InfoID not between", value1, value2, "infoid");
            return (Criteria) this;
        }

        public Criteria andPublicidIsNull() {
            addCriterion("PublicID is null");
            return (Criteria) this;
        }

        public Criteria andPublicidIsNotNull() {
            addCriterion("PublicID is not null");
            return (Criteria) this;
        }

        public Criteria andPublicidEqualTo(String value) {
            addCriterion("PublicID =", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidNotEqualTo(String value) {
            addCriterion("PublicID <>", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidGreaterThan(String value) {
            addCriterion("PublicID >", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidGreaterThanOrEqualTo(String value) {
            addCriterion("PublicID >=", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidLessThan(String value) {
            addCriterion("PublicID <", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidLessThanOrEqualTo(String value) {
            addCriterion("PublicID <=", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidLike(String value) {
            addCriterion("PublicID like", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidNotLike(String value) {
            addCriterion("PublicID not like", value, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidIn(List<String> values) {
            addCriterion("PublicID in", values, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidNotIn(List<String> values) {
            addCriterion("PublicID not in", values, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidBetween(String value1, String value2) {
            addCriterion("PublicID between", value1, value2, "publicid");
            return (Criteria) this;
        }

        public Criteria andPublicidNotBetween(String value1, String value2) {
            addCriterion("PublicID not between", value1, value2, "publicid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidIsNull() {
            addCriterion("PYInfoID is null");
            return (Criteria) this;
        }

        public Criteria andPyinfoidIsNotNull() {
            addCriterion("PYInfoID is not null");
            return (Criteria) this;
        }

        public Criteria andPyinfoidEqualTo(String value) {
            addCriterion("PYInfoID =", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidNotEqualTo(String value) {
            addCriterion("PYInfoID <>", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidGreaterThan(String value) {
            addCriterion("PYInfoID >", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidGreaterThanOrEqualTo(String value) {
            addCriterion("PYInfoID >=", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidLessThan(String value) {
            addCriterion("PYInfoID <", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidLessThanOrEqualTo(String value) {
            addCriterion("PYInfoID <=", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidLike(String value) {
            addCriterion("PYInfoID like", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidNotLike(String value) {
            addCriterion("PYInfoID not like", value, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidIn(List<String> values) {
            addCriterion("PYInfoID in", values, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidNotIn(List<String> values) {
            addCriterion("PYInfoID not in", values, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidBetween(String value1, String value2) {
            addCriterion("PYInfoID between", value1, value2, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andPyinfoidNotBetween(String value1, String value2) {
            addCriterion("PYInfoID not between", value1, value2, "pyinfoid");
            return (Criteria) this;
        }

        public Criteria andInfoIsNull() {
            addCriterion("Info is null");
            return (Criteria) this;
        }

        public Criteria andInfoIsNotNull() {
            addCriterion("Info is not null");
            return (Criteria) this;
        }

        public Criteria andInfoEqualTo(String value) {
            addCriterion("Info =", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoNotEqualTo(String value) {
            addCriterion("Info <>", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoGreaterThan(String value) {
            addCriterion("Info >", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoGreaterThanOrEqualTo(String value) {
            addCriterion("Info >=", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoLessThan(String value) {
            addCriterion("Info <", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoLessThanOrEqualTo(String value) {
            addCriterion("Info <=", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoLike(String value) {
            addCriterion("Info like", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoNotLike(String value) {
            addCriterion("Info not like", value, "info");
            return (Criteria) this;
        }

        public Criteria andInfoIn(List<String> values) {
            addCriterion("Info in", values, "info");
            return (Criteria) this;
        }

        public Criteria andInfoNotIn(List<String> values) {
            addCriterion("Info not in", values, "info");
            return (Criteria) this;
        }

        public Criteria andInfoBetween(String value1, String value2) {
            addCriterion("Info between", value1, value2, "info");
            return (Criteria) this;
        }

        public Criteria andInfoNotBetween(String value1, String value2) {
            addCriterion("Info not between", value1, value2, "info");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRevfield1IsNull() {
            addCriterion("RevField1 is null");
            return (Criteria) this;
        }

        public Criteria andRevfield1IsNotNull() {
            addCriterion("RevField1 is not null");
            return (Criteria) this;
        }

        public Criteria andRevfield1EqualTo(String value) {
            addCriterion("RevField1 =", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1NotEqualTo(String value) {
            addCriterion("RevField1 <>", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1GreaterThan(String value) {
            addCriterion("RevField1 >", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1GreaterThanOrEqualTo(String value) {
            addCriterion("RevField1 >=", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1LessThan(String value) {
            addCriterion("RevField1 <", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1LessThanOrEqualTo(String value) {
            addCriterion("RevField1 <=", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1Like(String value) {
            addCriterion("RevField1 like", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1NotLike(String value) {
            addCriterion("RevField1 not like", value, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1In(List<String> values) {
            addCriterion("RevField1 in", values, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1NotIn(List<String> values) {
            addCriterion("RevField1 not in", values, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1Between(String value1, String value2) {
            addCriterion("RevField1 between", value1, value2, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield1NotBetween(String value1, String value2) {
            addCriterion("RevField1 not between", value1, value2, "revfield1");
            return (Criteria) this;
        }

        public Criteria andRevfield2IsNull() {
            addCriterion("RevField2 is null");
            return (Criteria) this;
        }

        public Criteria andRevfield2IsNotNull() {
            addCriterion("RevField2 is not null");
            return (Criteria) this;
        }

        public Criteria andRevfield2EqualTo(String value) {
            addCriterion("RevField2 =", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2NotEqualTo(String value) {
            addCriterion("RevField2 <>", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2GreaterThan(String value) {
            addCriterion("RevField2 >", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2GreaterThanOrEqualTo(String value) {
            addCriterion("RevField2 >=", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2LessThan(String value) {
            addCriterion("RevField2 <", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2LessThanOrEqualTo(String value) {
            addCriterion("RevField2 <=", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2Like(String value) {
            addCriterion("RevField2 like", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2NotLike(String value) {
            addCriterion("RevField2 not like", value, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2In(List<String> values) {
            addCriterion("RevField2 in", values, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2NotIn(List<String> values) {
            addCriterion("RevField2 not in", values, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2Between(String value1, String value2) {
            addCriterion("RevField2 between", value1, value2, "revfield2");
            return (Criteria) this;
        }

        public Criteria andRevfield2NotBetween(String value1, String value2) {
            addCriterion("RevField2 not between", value1, value2, "revfield2");
            return (Criteria) this;
        }

        public Criteria andIsshowIsNull() {
            addCriterion("IsShow is null");
            return (Criteria) this;
        }

        public Criteria andIsshowIsNotNull() {
            addCriterion("IsShow is not null");
            return (Criteria) this;
        }

        public Criteria andIsshowEqualTo(String value) {
            addCriterion("IsShow =", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowNotEqualTo(String value) {
            addCriterion("IsShow <>", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowGreaterThan(String value) {
            addCriterion("IsShow >", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowGreaterThanOrEqualTo(String value) {
            addCriterion("IsShow >=", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowLessThan(String value) {
            addCriterion("IsShow <", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowLessThanOrEqualTo(String value) {
            addCriterion("IsShow <=", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowLike(String value) {
            addCriterion("IsShow like", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowNotLike(String value) {
            addCriterion("IsShow not like", value, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowIn(List<String> values) {
            addCriterion("IsShow in", values, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowNotIn(List<String> values) {
            addCriterion("IsShow not in", values, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowBetween(String value1, String value2) {
            addCriterion("IsShow between", value1, value2, "isshow");
            return (Criteria) this;
        }

        public Criteria andIsshowNotBetween(String value1, String value2) {
            addCriterion("IsShow not between", value1, value2, "isshow");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNull() {
            addCriterion("NewUpdate is null");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNotNull() {
            addCriterion("NewUpdate is not null");
            return (Criteria) this;
        }

        public Criteria andNewupdateEqualTo(Date value) {
            addCriterion("NewUpdate =", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotEqualTo(Date value) {
            addCriterion("NewUpdate <>", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThan(Date value) {
            addCriterion("NewUpdate >", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThanOrEqualTo(Date value) {
            addCriterion("NewUpdate >=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThan(Date value) {
            addCriterion("NewUpdate <", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThanOrEqualTo(Date value) {
            addCriterion("NewUpdate <=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateIn(List<Date> values) {
            addCriterion("NewUpdate in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotIn(List<Date> values) {
            addCriterion("NewUpdate not in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateBetween(Date value1, Date value2) {
            addCriterion("NewUpdate between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotBetween(Date value1, Date value2) {
            addCriterion("NewUpdate not between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andIsprotectedIsNull() {
            addCriterion("ISProtected is null");
            return (Criteria) this;
        }

        public Criteria andIsprotectedIsNotNull() {
            addCriterion("ISProtected is not null");
            return (Criteria) this;
        }

        public Criteria andIsprotectedEqualTo(String value) {
            addCriterion("ISProtected =", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedNotEqualTo(String value) {
            addCriterion("ISProtected <>", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedGreaterThan(String value) {
            addCriterion("ISProtected >", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedGreaterThanOrEqualTo(String value) {
            addCriterion("ISProtected >=", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedLessThan(String value) {
            addCriterion("ISProtected <", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedLessThanOrEqualTo(String value) {
            addCriterion("ISProtected <=", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedLike(String value) {
            addCriterion("ISProtected like", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedNotLike(String value) {
            addCriterion("ISProtected not like", value, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedIn(List<String> values) {
            addCriterion("ISProtected in", values, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedNotIn(List<String> values) {
            addCriterion("ISProtected not in", values, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedBetween(String value1, String value2) {
            addCriterion("ISProtected between", value1, value2, "isprotected");
            return (Criteria) this;
        }

        public Criteria andIsprotectedNotBetween(String value1, String value2) {
            addCriterion("ISProtected not between", value1, value2, "isprotected");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}